from selenium import webdriver
from selenium.webdriver.common.by import By

wd = webdriver.Edge()

wd.get("https://so.gushiwen.cn/authorv.aspx?name=%e6%9d%8e%e6%96%af")
wd.get_screenshot_as_file("a.png")
element = wd.find_element(By.CSS_SELECTOR,'#sonsyuanwen > div.cont > p')
print(element.text)
print(2)


